# ***************************************************************************
# Copyright (c) 2009-2013, Jaco Naudé
#
# See http://www.qtilities.org/licensing.html for licensing details.
#
# ***************************************************************************
# Qtilities Extension System Library
# ***************************************************************************
QTILITIES += coregui
TARGET = QtilitiesExtensionSystem

TEMPLATE = lib
include(../Qtilities.pri)
system(touch source/ExtensionSystemCore.cpp)

CONFIG += qt \
    dll \
    ordered

QT += xml \
      gui

greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets \
      printsupport
}


DEFINES += EXTENSION_SYSTEM_LIBRARY

# --------------------------
# Extension Library Files
# --------------------------
HEADERS += source/ExtensionSystemCore.h \
        source/ExtensionSystem_global.h \
        source/ExtensionSystemConstants.h \
        source/IPlugin.h \
        source/ExtensionSystemConfig.h \
        source/PluginInfoWidget.h \
        source/PluginTreeModel.h
SOURCES += source/ExtensionSystemCore.cpp \
        source/ExtensionSystemConfig.cpp \
        source/PluginInfoWidget.cpp \
        source/PluginTreeModel.cpp
FORMS   += source/ExtensionSystemConfig.ui \
        source/PluginInfoWidget.ui
